<%@page import="java.text.SimpleDateFormat"%>
<%@ page language="java" import="java.util.Date" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'ShowDate.jsp' starting page</title>
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<body>
<%
SimpleDateFormat formater = new SimpleDateFormat("yyyy年MM月dd日HH时mm分ss秒");
String strCurrentTime = formater.format(new Date());
%>
	欢迎光临ED电子商城！现在时间为：<%=strCurrentTime%>
</body>
</html>
